package com.woniu.payback_font.mapper;


import com.woniu.payback_font.entity.LoanApplication;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LoanApplicationMapper {
    int deleteByPrimaryKey(Integer laId);

    int insert(LoanApplication record);

    LoanApplication selectByPrimaryKey(Integer laId);

    List<LoanApplication> selectAll();

    int updateByPrimaryKey(LoanApplication record);

    List<LoanApplication> dynamicSearch(@Param("laName") String laName,
                                        @Param("laMobile") String laMobile,
                                        @Param("laIdcard") String laIdcard,
                                        @Param("laInvestorName") String laInvestorName,
                                        @Param("laLoadApplicationStatus") Integer laLoadApplicationStatus);
}